package com.jsyh.maidu.adapter.home;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.jsyh.maidu.R;
import com.jsyh.maidu.config.ConfigValue;
import com.squareup.picasso.Picasso;

/**
 * Created by Administrator on 2017/6/8.
 */

public class ImageHolder extends MyBaseViewHolder {

    private ImageView view;

    public ImageHolder(Context context, View itemView, String src) {
        super(itemView);
        view = (ImageView) itemView.findViewById(R.id.top_img);
        Picasso.with(context).load(ConfigValue.IMG_IP + src).into(view);
    }

    @Override
    public void bindData() {

    }
}
